# 不重复 无顺序
s = set()
print(type(s))
s1 = {1, 2, 3, 4, 5, 6, 6, 6, 6, }
print(s1)

# list 转 set
list1 = [1, 2, 3, 3]
print(set(list1))

# tuple 转 set
tuple1 = (1, 2, 4, 5, 6, 6, 6)
print(set(tuple1))

# str 转 set
str1 = '123'
print(set(str1))

# dict 转 set
print(set({1: 'a', 'b': 3})) #{1, 'b'} 只有key
